package com.songcan.common.annotation;

import com.fasterxml.jackson.annotation.JsonFilter;

public class JacksonJsonFilter {


    static String FILTER1 = "JSON_FILTER1";
    static String FILTER2 = "JSON_FILTER2";
    static String FILTER3 = "JSON_FILTER3";
    static String FILTER4 = "JSON_FILTER4";
    static String FILTER5 = "JSON_FILTER5";
    static String FILTER6 = "JSON_FILTER6";
    static String FILTER7 = "JSON_FILTER7";
    static String FILTER8 = "JSON_FILTER8";
    static String FILTER9 = "JSON_FILTER9";
    static String FILTER10 = "JSON_FILTER10";

    public static  String[] filter = new String[]{FILTER1,FILTER2,FILTER3,FILTER4,FILTER5,FILTER6,FILTER7,FILTER8,FILTER9,FILTER10};

    public static Class[] typeFilter = new Class[]{JSONFilter1.class,JSONFilter2.class,JSONFilter3.class,JSONFilter4.class,
            JSONFilter5.class,JSONFilter6.class,JSONFilter7.class,JSONFilter8.class,JSONFilter9.class,JSONFilter10.class};

    @JsonFilter("JSON_FILTER1")
    interface JSONFilter1 {}

    @JsonFilter("JSON_FILTER2")
    interface JSONFilter2 {}

    @JsonFilter("JSON_FILTER3")
    interface JSONFilter3 {}

    @JsonFilter("JSON_FILTER4")
    interface JSONFilter4 {}

    @JsonFilter("JSON_FILTER5")
    interface JSONFilter5 {}

    @JsonFilter("JSON_FILTER6")
    interface JSONFilter6 {}

    @JsonFilter("JSON_FILTER7")
    interface JSONFilter7 {}

    @JsonFilter("JSON_FILTER8")
    interface JSONFilter8 {}

    @JsonFilter("JSON_FILTER9")
    interface JSONFilter9 {}

    @JsonFilter("JSON_FILTER10")
    interface JSONFilter10 {}
}
